<?php
/* ----------------------------------------------------------
--               JacoCMS by Jaco Ruit                      --
-------------------------------------------------------------
--     JacoCMS is Open Source and is lincenced under       --
--             GNU General Public Licence v3               --
--          http://www.gnu.org/copyleft/gpl.html           --
-------------------------------------------------------------
--       Please don't remove any text from the footers.    --
-------------------------------------------------------------
-- Credits:   * Jaco Ruit          ~     Scripts,MySQL     --     
-----------------------------------------------------------*/

# JacoCMS Core Functions
# Admin Panel is using this!

require("../Smarty/Smarty.class.php");



$smarty = new Smarty();

$smarty->template_dir = "templates"; 
$smarty->compile_dir = "templates_c"; 
$smarty->cache_dir = "cache"; 
$smarty->config_dir = "configs"; 

class Core
{
	function filter($string)
	{
	    $newstring = mysql_real_escape_string(trim(stripslashes($string)));
		return $newstring;
	}
}

?>